package com.openlogic.datasource.api.event;

import java.util.List;

import org.noear.solon.cloud.annotation.CloudEvent;
import org.noear.solon.cloud.eventplus.CloudEventEntity;

/**
 * @ClassName: DataDeleteEventModel
 * @Description: 删除事件Model
 * @author weiyongpeng
 * @date 2024年11月18日 上午8:57:52
 */
@CloudEvent(topic = "data.delete.event", group = "delete")
public class DataDeleteEventModel implements CloudEventEntity{

	private String id;

	private List<String> ids;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public List<String> getIds() {
		return ids;
	}

	public void setIds(List<String> ids) {
		this.ids = ids;
	}

	public DataDeleteEventModel(String id) {
		super();
		this.id = id;
	}

	public DataDeleteEventModel(List<String> ids) {
		super();
		this.ids = ids;
	}

	public DataDeleteEventModel() {
		super();
	}

}
